<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>闲置</title>
    <link rel="stylesheet" href="/Public/layui/css/layui.css"  media="all">
    <style>
        .layui-input-block input{
            width:250px;
        }

    </style>
</head>
<body>
    <form class="" action="#">
        <div class="layui-form-item">
            <label class="layui-form-label">闲置名称:</label>
            <div class="layui-input-block">
                <input id="unuse_name" type="text" name="unuse_name" class="layui-input" value="<?php echo ($list["unuse_name"]); ?>">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">闲置内容:</label>
            <div class="layui-input-block">
                <input id="unuse_info" type="text" name="unuse_info" class="layui-input" value="<?php echo ($list["unuse_info"]); ?>">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">闲置地址:</label>
            <div class="layui-input-block">
                <input style = "width:100px;" id="province" type="text" name="province" class="layui-input" value="<?php echo ($list["province"]); ?>">
                <input style = "width:100px;" id="city" type="text" name="city" class="layui-input" value="<?php echo ($list["city"]); ?>">
                <input style = "width:100px;" id="district" type="text" name="district" class="layui-input" value="<?php echo ($list["district"]); ?>">
                <input style = "width:100px;" id="township" type="text" name="township" class="layui-input" value="<?php echo ($list["township"]); ?>">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">几成新:</label>
            <div class="layui-input-block">
                <input id="is_new" type="text" name="is_new" class="layui-input" value="<?php echo ($list["is_new"]); ?>">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">分类:</label>
            <div class="layui-input-block">
                <input id="unuse_type" type="text" name="unuse_type" class="layui-input" value="<?php echo ($list["unuse_type"]); ?>">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">想卖多少:</label>
            <div class="layui-input-block">
                <input id="price" type="text" name="price" class="layui-input" value="<?php echo ($list["price"]); ?>">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">原价:</label>
            <div class="layui-input-block">
                <input id="original_price" type="text" name="original_price" class="layui-input" value="<?php echo ($list["original_price"]); ?>">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">包邮:</label>
            <div class="layui-input-block">
                <input id="is_free_post" type="text" name="is_free_post" class="layui-input" value="<?php echo ($list["is_free_post"]); ?>">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">运费:</label>
            <div class="layui-input-block">
                <input id="freight" type="text" name="freight" class="layui-input" value="<?php echo ($list["freight"]); ?>">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">备注:</label>
            <div class="layui-input-block">
                <!--<script id="remark2" name="remark2" type="text/plain"><?php echo ($list["remark2"]); ?></script>-->
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">图片信息:</label>
            <div class="layui-input-block">
                <!--<script id="container" name="content" type="text/plain"><?php echo ($list["content"]); ?></script>-->
                <img style = "width:100px;height:150px" src = "<?php echo ($list["img1"]); ?>"/>
                <img style = "width:100px;height:150px" src = "<?php echo ($list["img2"]); ?>"/>
                <img style = "width:100px;height:150px" src = "<?php echo ($list["img3"]); ?>"/>
                <img style = "width:100px;height:150px" src = "<?php echo ($list["img4"]); ?>"/>
                <img style = "width:100px;height:150px" src = "<?php echo ($list["img5"]); ?>"/>
                <img style = "width:100px;height:150px" src = "<?php echo ($list["img6"]); ?>"/>

                <img style = "width:100px;height:150px" src = "<?php echo ($list["img7"]); ?>"/>
                <img style = "width:100px;height:150px" src = "<?php echo ($list["img8"]); ?>"/>
                <img style = "width:100px;height:150px" src = "<?php echo ($list["img9"]); ?>"/>
                <img style = "width:100px;height:150px" src = "<?php echo ($list["img10"]); ?>"/>
                <img style = "width:100px;height:150px" src = "<?php echo ($list["img11"]); ?>"/>
                <img style = "width:100px;height:150px" src = "<?php echo ($list["img12"]); ?>"/>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button id="updateGoods" class="layui-btn" lay-submit="" lay-filter="*">立即提交</button>
            </div>
        </div>
        <input id="id" type="hidden" value="<?php echo ($list["id"]); ?>">
    </form>
    <!-- 配置文件 -->
    <script type="text/javascript" src="/Public/ueditor/ueditor.config.js"></script>
    <!-- 编辑器源码文件 -->
    <script type="text/javascript" src="/Public/ueditor/ueditor.all.js"></script>
    <!-- 实例化编辑器 -->
    <script type="text/javascript">
        // var editor = UE.getEditor('container');
    </script>
    <script src="/Public/layui/layui.js" charset="utf-8"></script>
    <script src="/Public/js/jquery-1.11.1.min.js" charset="utf-8"></script>
    <script type="text/javascript">
        $(function(){

        });
    </script>
</body>
</html>